public class CatDemo16 {
    public static void main(String[] args) {
        Cat cat = new Cat();
        cat.age = 8;
        cat.color = "白色";

        cat.eat();// 能吃
        System.out.println(cat.age);
        System.out.println(cat.color);
    }
}
